import React from 'react';
import Svg, {G, Path, Defs, ClipPath, Rect} from 'react-native-svg';
import {BasicsProps} from './type';

type Props = {
  size: string;
  fill?: string;
} & BasicsProps;

const ClearCacheIcon = ({size, fill = '#333333'}: Props) => {
  return (
    <Svg
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none">
      <G
        id="&#230;&#184;&#133;&#233;&#153;&#164;&#231;&#188;&#147;&#229;&#173;&#152;"
        clip-Path="url(#clip0_36_572)">
        <Path
          id="Combined-Shape"
          fill-rule="evenodd"
          clip-rule="evenodd"
          d="M19.3846 8.72001C19.7976 8.754 20.1056 9.11501 20.0726 9.52801C20.0666 9.596 19.5246 16.307 19.2126 19.122C19.0186 20.869 17.8646 21.932 16.1226 21.964C14.7896 21.987 13.5036 22 12.2466 22C10.8916 22 9.5706 21.985 8.2636 21.958C6.5916 21.925 5.4346 20.841 5.2456 19.129C4.9306 16.289 4.3916 9.59501 4.3866 9.52801C4.3526 9.11501 4.6606 8.75301 5.0736 8.72001C5.4806 8.709 5.8486 8.99501 5.8816 9.40701C5.88479 9.45041 6.10514 12.184 6.34526 14.8887L6.39349 15.4285C6.51443 16.7728 6.63703 18.0646 6.7366 18.964C6.8436 19.937 7.3686 20.439 8.2946 20.458C10.7946 20.511 13.3456 20.514 16.0956 20.464C17.0796 20.445 17.6116 19.953 17.7216 18.957C18.0316 16.163 18.5716 9.47501 18.5776 9.40701C18.6106 8.99501 18.9756 8.70701 19.3846 8.72001ZM14.3454 2.00031C15.2634 2.00031 16.0704 2.61931 16.3074 3.50631L16.5614 4.76731C16.6435 5.18068 17.0062 5.48256 17.4263 5.48919L20.708 5.48931C21.122 5.48931 21.458 5.8253 21.458 6.23931C21.458 6.65331 21.122 6.98931 20.708 6.98931L17.4556 6.98915C17.4505 6.98925 17.4455 6.98931 17.4404 6.98931L17.416 6.98831L7.04162 6.98918C7.03355 6.98926 7.02548 6.98931 7.0174 6.98931L7.002 6.98831L3.75 6.98931C3.336 6.98931 3 6.65331 3 6.23931C3 5.8253 3.336 5.48931 3.75 5.48931L7.031 5.48831L7.13202 5.48191C7.50831 5.43309 7.82104 5.14731 7.8974 4.76731L8.1404 3.55131C8.3874 2.61931 9.1944 2.00031 10.1124 2.00031H14.3454ZM14.3454 3.50031H10.1124C9.8724 3.50031 9.6614 3.66131 9.6004 3.89231L9.3674 5.06231C9.33779 5.2105 9.29467 5.35332 9.23948 5.48957H15.2186C15.1634 5.35332 15.1201 5.2105 15.0904 5.06231L14.8474 3.84631C14.7964 3.66131 14.5854 3.50031 14.3454 3.50031Z"
          fill={fill}
        />
      </G>
      <Defs>
        <ClipPath id="clip0_36_572">
          <Rect width={size} height={size} fill="white" />
        </ClipPath>
      </Defs>
    </Svg>
  );
};


export default ClearCacheIcon;
